package com.chess.config;

import com.chess.plugin.DBSavePlugin;
import com.chess.plugin.NettyPlugin;
import com.sojoys.artifact.core.Constants;
import com.sojoys.artifact.core.IConfig;
import com.sojoys.artifact.core.Modules;
import com.sojoys.artifact.core.Plugins;
import com.sojoys.artifact.plugin.quartz.QuartzPlugin;

/**
 * @author : DengYing
 * @CreateDate : 2017年4月17日 上午11:56:18
 * @Description ：Please describe this document
 */
public class NettyConfig implements IConfig {

	@Override
	public void configConstant(Constants me) {

	}
	
	@Override
	public void configModules(Modules me) {
		me.add(new ModuleScan());
	}

	@Override
	public void configPlugin(Plugins me) {
		me.add(new QuartzPlugin());
		
		me.add(new DBSavePlugin());
		// netty插件
		me.add(new NettyPlugin());
	}

	@Override
	public void afterJFinalStart() {

	}

	@Override
	public void beforeJFinalStop() {
		// TODO Auto-generated method stub

	}

	

}
